package com.ruoyi.system.domain;

import com.ruoyi.common.base.BaseEntity;

import java.util.Date;
import java.util.List;

/**
 * 游戏区服表 zh_game_area
 * 
 * @author ruoyi
 * @date 2019-05-05
 */
public class ZhGameArea extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer id;
	/** 父区服id */
	private Integer parentId;
	/** 名称 */
	private String name;
	/** 游戏id */
	private Integer gameId;
	/** 排序 */
	private Integer sorting;
	/** 站点id */
	private Integer deptId;
	/** 创建时间 */
	private Date gmtCreate;
	/** 更新时间 */
	private Date gmtModified;
	/** 备注 */
	private String remark;
	// 额外属性
	/**
	 * 站点名称
	 */
	private String deptName;

	/**
	 * 所属游戏名称
	 */
	private String gameName;

	/**
	 * 父区服名称
	 */
	private String parentAreaName;

	/**
	 * 子节点
	 */
	private List<ZhGameArea> children;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setParentId(Integer parentId) 
	{
		this.parentId = parentId;
	}

	public Integer getParentId() 
	{
		return parentId;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setGameId(Integer gameId) 
	{
		this.gameId = gameId;
	}

	public Integer getGameId() 
	{
		return gameId;
	}
	public void setSorting(Integer sorting) 
	{
		this.sorting = sorting;
	}

	public Integer getSorting() 
	{
		return sorting;
	}
	public void setDeptId(Integer deptId) 
	{
		this.deptId = deptId;
	}

	public Integer getDeptId() 
	{
		return deptId;
	}
	public void setGmtCreate(Date gmtCreate) 
	{
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtCreate() 
	{
		return gmtCreate;
	}
	public void setGmtModified(Date gmtModified) 
	{
		this.gmtModified = gmtModified;
	}

	public Date getGmtModified() 
	{
		return gmtModified;
	}
	public void setRemark(String remark) 
	{
		this.remark = remark;
	}

	public String getRemark() 
	{
		return remark;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public String getGameName() {
		return gameName;
	}

	public void setGameName(String gameName) {
		this.gameName = gameName;
	}

	public String getParentAreaName() {
		return parentAreaName;
	}

	public void setParentAreaName(String parentAreaName) {
		this.parentAreaName = parentAreaName;
	}

	public List<ZhGameArea> getChildren() {
		return children;
	}

	public void setChildren(List<ZhGameArea> children) {
		this.children = children;
	}
}
